package com.vincent.template.domain;

import com.vincent.template.commons.base.BaseIncrEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

/**
 * 用户组
 * @Author Vincent Wang
 * @Date 2020/10/21 11:53
 */
@Entity
@Table(name = "sys_user_group", uniqueConstraints = @UniqueConstraint(name = "groupName_unique", columnNames = {"groupName"}))
public class SysUserGroupPo extends BaseIncrEntity {

    /**
     * 用户组名
     */
    @Column(nullable = false, length = 128)
    private String groupName;

    /**
     * 用户组描述
     */
    @Column(length = 128)
    private String remark;

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
